package com.wanmait.demo.mapper;

import com.wanmait.demo.pojo.Notice;

import java.util.List;

public interface NoticeMapper {
    //查看公告的标题和内容
    List<Notice> selectTitleAndContent();
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);
}